package com.mentalhealthplatform.appModels;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Getter;
import lombok.Setter;

import java.util.UUID;

@Setter
@Getter
@Entity
public class MessageLike {
    @Id
    private Long id;
    private Long messageId;
    private UUID teacherId;

    public MessageLike(Reply reply) {
        this.teacherId = reply.getTeacherId();
    }

    public MessageLike() {
        // 默认构造函数
    }
}